package com.sinkingsquare.dao;

import java.util.List;

import com.sinkingsquare.domain.Account;

public interface AccountDao {

	public abstract void save(Account account);
	
	public abstract boolean checkAccountExistsWithName(String username);
	
	public abstract boolean checkAccountExistsWithNameAndPwd(String username,String password);
	
	public abstract List<Account> getAllAcounts();
	
	public Account loadAccountById(int id);
	
}
